import request from '@/common/request.js'

export function getUserId(data) {
	return request.get('/ra/get/code', data)
}

export function checkUserInfo(data) {
	return request.post('/ra/post/begin', data)
}

export function updUserInfo(data) {
	return request.post('/ra/post/write', data)
}

export function chatModel(data) {
	return request.post('/ra/post/gpt', data)
}

export function userLogin(data) {
	return request.post('/ra/post/login', data)
}

export function userLogout(data) {
	return request.post('/ra/post/logout', data)
}


